package com.zhangchuchu.neohealth.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhangchuchu.neohealth.entity.UserProfile;
import com.zhangchuchu.neohealth.mapper.UserProfileMapper;
import com.zhangchuchu.neohealth.service.UserProfileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserProfile> implements UserProfileService {
    @Autowired
    UserProfileMapper userProfileMapper;
    @Override
    public UserProfile findByNickname(String nickname) {
        return userProfileMapper.findByNickname(nickname);
    }
}
